package com.example.demo.util;

import cn.hutool.core.io.FileUtil;
import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;

import java.util.List;

public class MyExcelUtil {

    public static void main(String[] args) {
        ExcelReader reader = ExcelUtil.getReader(FileUtil.file("d:/t.xlsx"));
        List<List<Object>> read = reader.read();
        for (List<Object> list : read) {
            for (Object o : list) {
                System.out.println(o);
            }
        }
    }
}
